package cn.ssms.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.ssms.dao.LogMapper;
import cn.ssms.model.Log;

@Service("commonService")
public class CommonServiceImpl implements CommonService {
	

	@Autowired
	private LogMapper logMapper;

	@Override
	public void addLog(Log log) {
		try {
			logMapper.addLog(log);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	


}
